GBML manual / Constants

BTN_START

The GBA’s START button, for btn_held/btn_pressed/btn_released.

Syntax

BTN_START: constant

Description

Names the GBA's START button, for passing to btn_held, btn_pressed or btn_released - the Start button - pause/resume and menu confirmation, by convention.

Example

if (btn_pressed(BTN_START)) {
    var fired = true;
}

Checks for a fresh press of START this frame.

See also: btn_heldbtn_pressedbtn_released